package cn.ljn.basic.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 账号登录
 */
@Data
public class LoginDto {

    @NotBlank(message = "账号不能为空")
    private String account;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotNull(message = "类型不能为空")
    private Integer type;
}
